Simon McVittie [Sun, 9 Aug 2020 13:49:33 +0000 (14:49 +0100)]
Release to experimental
Simon McVittie [Sun, 9 Aug 2020 13:42:54 +0000 (14:42 +0100)]
d/tests: Only test under X11 for now
Simon McVittie [Sun, 9 Aug 2020 13:42:29 +0000 (14:42 +0100)]
d/tests: Remove ATK/AT-SPI remnants
Simon McVittie [Sun, 9 Aug 2020 13:39:44 +0000 (14:39 +0100)]
Update changelog
Simon McVittie [Sun, 9 Aug 2020 13:33:22 +0000 (14:33 +0100)]
Fix copyright file syntax
Simon McVittie [Sun, 9 Aug 2020 12:05:41 +0000 (13:05 +0100)]
d/rules: Explicitly build documentation during build step
By default this is only done during the install step, because gtk-doc
is relatively slow and cannot tell Meson how its dependency tree looks.
However, for GTK that breaks some dependency tracking, leading to
required Docbook files not being generated from their Markdown source.
Simon McVittie [Sun, 9 Aug 2020 10:02:54 +0000 (11:02 +0100)]
Run the build-time tests under X11 for now
We don't have an equivalent of xvfb-run for Wayland yet.
Simon McVittie [Sun, 9 Aug 2020 09:24:13 +0000 (10:24 +0100)]
Disable GObject-Introspection for udeb
Simon McVittie [Sun, 9 Aug 2020 09:23:47 +0000 (10:23 +0100)]
Don't build demos, examples, installed-tests under <!noinsttest>
Simon McVittie [Sun, 9 Aug 2020 09:22:06 +0000 (10:22 +0100)]
Annotate -doc package with <!nodoc>
Simon McVittie [Sun, 9 Aug 2020 09:21:49 +0000 (10:21 +0100)]
d/rules: Disable examples, demos, installed tests for udeb build
Simon McVittie [Sun, 9 Aug 2020 09:21:30 +0000 (10:21 +0100)]
d/rules: Explicitly enable Xinerama for non-udeb build
Simon McVittie [Sat, 8 Aug 2020 22:22:13 +0000 (23:22 +0100)]
d/rules: Stop setting VERBOSE, it was only relevant with Autotools
Simon McVittie [Sat, 8 Aug 2020 22:21:42 +0000 (23:21 +0100)]
d/rules: Rely on debhelper 13 to reset HOME, etc.
Simon McVittie [Sat, 8 Aug 2020 22:19:25 +0000 (23:19 +0100)]
Update symbols file
Bump version on all symbols to 3.99.0 due to numerous ABI breaks.
This library is in experimental for a reason!
Simon McVittie [Sat, 8 Aug 2020 21:06:19 +0000 (22:06 +0100)]
Install more example files
Simon McVittie [Sat, 8 Aug 2020 20:20:21 +0000 (21:20 +0100)]
Add upstreamed patch to fix FTBFS with cloudprint enabled
Simon McVittie [Sat, 8 Aug 2020 12:44:37 +0000 (13:44 +0100)]
Add proposed patches to add copyright/licensing info for libroaring code
Simon McVittie [Sat, 8 Aug 2020 12:41:10 +0000 (13:41 +0100)]
Add patches from upstream for some tests/warnings fixes
Simon McVittie [Fri, 7 Aug 2020 09:44:56 +0000 (10:44 +0100)]
Bump GLib build-dependency
Simon McVittie [Fri, 7 Aug 2020 09:29:49 +0000 (10:29 +0100)]
Drop patch, applied upstream
Simon McVittie [Fri, 7 Aug 2020 09:17:31 +0000 (10:17 +0100)]
Build-Depend on librsvg2-dev
One of the tests now needs it.
Simon McVittie [Fri, 7 Aug 2020 09:04:25 +0000 (10:04 +0100)]
d/copyright: Update
Simon McVittie [Wed, 5 Aug 2020 22:42:35 +0000 (23:42 +0100)]
d/copyright: Update
Simon McVittie [Wed, 5 Aug 2020 22:21:29 +0000 (23:21 +0100)]
Remove ATK dependencies
Simon McVittie [Wed, 5 Aug 2020 22:19:42 +0000 (23:19 +0100)]
New upstream release
Simon McVittie [Wed, 5 Aug 2020 22:19:41 +0000 (23:19 +0100)]
Update upstream source from tag 'upstream/3.99.0'
Update to upstream version '3.99.0'
with Debian dir
030aa25f1a86e81eba960ff76e2934bbf1ffb450
Simon McVittie [Wed, 5 Aug 2020 22:18:53 +0000 (23:18 +0100)]
New upstream version 3.99.0
Simon McVittie [Wed, 5 Aug 2020 21:32:06 +0000 (22:32 +0100)]
d/copyright: Update
Simon McVittie [Wed, 5 Aug 2020 21:31:58 +0000 (22:31 +0100)]
Update dependencies
- Bump pango to 1.45.0
- Add pandoc to B-D-I
Simon McVittie [Wed, 5 Aug 2020 20:59:34 +0000 (21:59 +0100)]
New upstream release
Simon McVittie [Wed, 5 Aug 2020 20:59:15 +0000 (21:59 +0100)]
Merge tag 'upstream/3.98.5' into debian/master
Upstream version 3.98.5
Matthias Clasen [Thu, 30 Jul 2020 12:36:01 +0000 (08:36 -0400)]
3.99.0
Matthias Clasen [Fri, 31 Jul 2020 02:15:56 +0000 (22:15 -0400)]
testsuite: Use Wayland by default
I'm tired of xwayland crashing and killing my shell.
Matthias Clasen [Thu, 30 Jul 2020 17:50:54 +0000 (17:50 +0000)]
Merge branch 'focus-active' into 'master'
Focus active
Closes #2390
See merge request GNOME/gtk!2324
Matthias Clasen [Thu, 30 Jul 2020 17:23:45 +0000 (13:23 -0400)]
eventcontrollerkey: Update im focus when active window changes
Use the new GTK_CROSSING_ACTIVE crossing events to update
the im context focus when the window becomes active or
inactive. IBus requires this, since it has only a single,
global focus location.
Fixes: #2390
Matthias Clasen [Thu, 30 Jul 2020 17:22:26 +0000 (13:22 -0400)]
window: Emit GTK_CROSSING_ACTIVE crossing events
Emit crossing events when the active window changes.
We don't want to emit GTK_CROSSING_FOCUS events, since
every window has its own focus location (focus does not
jump from window to window), so we use the new
GTK_CROSSING_ACTIVE type of crossing event for this.
Matthias Clasen [Thu, 30 Jul 2020 17:21:28 +0000 (13:21 -0400)]
Define GTK_CROSSING_ACTIVE
Document the different crossing event kinds that we use,
and add GTK_CROSSING_ACTIVE. We are going to use it in
the future when the active window changes.
Matthias Clasen [Thu, 30 Jul 2020 17:01:15 +0000 (17:01 +0000)]
Merge branch 'wip/carlosg/more-device-api-cleanup' into 'master'
More device API cleanup
See merge request GNOME/gtk!2323
Carlos Garnacho [Thu, 30 Jul 2020 15:52:28 +0000 (17:52 +0200)]
gdk: Rename gdk_seat_get_physical_devices() to gdk_seat_get_devices()
We don't want to tell what they are, and the distinction is now less
clear. Remove the adjective from the function name.
Carlos Garnacho [Thu, 30 Jul 2020 15:46:49 +0000 (17:46 +0200)]
gdk: Drop gdk_device_get_device_type()
There is no longer a hierarchy of devices, or none that is seen
on the outside.
Carlos Garnacho [Thu, 30 Jul 2020 15:37:19 +0000 (17:37 +0200)]
gdk/x11: Make device type a X11 detail
The only legit uses of device types are here in gdk/x11, move the
concept of device type to X11, so we can drop it from public API.
Carlos Garnacho [Thu, 30 Jul 2020 15:15:14 +0000 (17:15 +0200)]
gdk: Make gdk_device_list_physical_devices() private
Physical devices should probably be accounted internally in gdk/x11,
make this out of private API so at least the implementation details
don't leak.
Carlos Garnacho [Thu, 30 Jul 2020 12:30:57 +0000 (14:30 +0200)]
gdk: Drop gdk_device_get_associated_device()
Devices are no longer associated like this, the seat should be used
to resolve queries on other devices.
Carlos Garnacho [Thu, 30 Jul 2020 12:29:24 +0000 (14:29 +0200)]
gtkimcontext: Avoid gdk_device_get_associated_device()
Query the seat for that.
Carlos Garnacho [Thu, 30 Jul 2020 12:29:12 +0000 (14:29 +0200)]
gtktextview: Avoid gdk_device_get_associated_device()
Query the seat for that.
Carlos Garnacho [Thu, 30 Jul 2020 12:28:59 +0000 (14:28 +0200)]
gtkwindowhandle: Avoid gdk_device_get_associated_device()
Query the seat for that.
Carlos Garnacho [Thu, 30 Jul 2020 12:28:45 +0000 (14:28 +0200)]
gtkdragsource: Avoid gdk_device_get_associated_device()
Query the seat for that.
Carlos Garnacho [Thu, 30 Jul 2020 12:28:15 +0000 (14:28 +0200)]
gdk/x11: Avoid gdk_device_get_associated_device()
Query the seat for that.
Carlos Garnacho [Thu, 30 Jul 2020 12:27:46 +0000 (14:27 +0200)]
gdk/win32: Avoid gdk_device_get_associated_device()
Query the seat for that.
Carlos Garnacho [Thu, 30 Jul 2020 12:27:25 +0000 (14:27 +0200)]
gdk/macos: Avoid gdk_device_get_associated_device()
Query the seat for that.
Carlos Garnacho [Thu, 30 Jul 2020 12:26:51 +0000 (14:26 +0200)]
gdk: Avoid gdk_device_get_associated_device()
Query the seat for that.
Benjamin Otte [Thu, 30 Jul 2020 15:31:27 +0000 (15:31 +0000)]
Merge branch 'wip/otte/geometry' into 'master'
Some GdkGeometry cleanups
See merge request GNOME/gtk!2322
Benjamin Otte [Thu, 30 Jul 2020 15:05:23 +0000 (17:05 +0200)]
Remove unused GDK_HINT_POS
Benjamin Otte [Thu, 30 Jul 2020 03:02:30 +0000 (05:02 +0200)]
Remove gravity from GdkGeometry
It's always northwest
Benjamin Otte [Thu, 30 Jul 2020 02:50:46 +0000 (04:50 +0200)]
Remove aspect ratio from GdkGeometry
It's unused.
Benjamin Otte [Thu, 30 Jul 2020 02:46:09 +0000 (04:46 +0200)]
gdk: Remove unused flags
Benjamin Otte [Thu, 30 Jul 2020 02:42:11 +0000 (04:42 +0200)]
gdk: Remove base_size and increment from GdkGeometry
It's unused.
Matthias Clasen [Thu, 30 Jul 2020 12:18:02 +0000 (12:18 +0000)]
Merge branch 'wip/master.win.egl' into 'master'
Add an EGL (OpenGL/ES 3) renderer for GTK+-4.x (using Google's ANGLE project) for Windows
Closes #105
See merge request GNOME/gtk!215
Rico Tzschichholz [Thu, 30 Jul 2020 07:35:48 +0000 (07:35 +0000)]
Merge branch 'ricotz/for-master' into 'master'
a11y: Fix typo in GtkATContext::state-changed docs
See merge request GNOME/gtk!2320
Rico Tzschichholz [Thu, 30 Jul 2020 07:06:49 +0000 (09:06 +0200)]
a11y: Fix typo in GtkATContext::state-changed docs
Chun-wei Fan [Tue, 7 May 2019 07:09:03 +0000 (00:09 -0700)]
GDK/Win32: Force GLES if running on ARM64
If GLES support is enabled on Windows, force GLES mode if we are running
on a ARM64 version of Windows (i.e. Windows 10 for ARM).
This is required as ARM64 versions of Windows only provide a software
implementation of OpenGL 1.1/1.2, which is not enough for our purposes.
Thus, we could make instead use the GLES support provided via Google's
libANGLE (which emulates OpenGL/ES 3 with Direct3D 9/11), so that we
can run GtkGLArea programs under OpenGL/ES in ARM64 versions of Windows.
Note that eventually we could update the libepoxy build files for Windows
to not check nor enable WGL when building for ARM64 Windows, as the WGL
items do not work, although they do build.
Chun-wei Fan [Tue, 31 Jul 2018 10:18:59 +0000 (18:18 +0800)]
OpenGL/ES: Fix 'R' and 'B' bits inverted on Windows
We need to use GL_BGRA instead of GL_RGBA when doing glReadPixels() on
EGL on Windows (ANGLE) so that the red and blue bits won't be displayed
inverted.
Also fix the logic where we determine whether to bit blit or redraw
everything.
Chun-wei Fan [Fri, 3 Aug 2018 07:54:48 +0000 (15:54 +0800)]
demos: Fix glarea demo on OpenGL/ES
Some implementations of the ES 1.00 shader (such as Google's ANGLE) do
not like the 'f' suffix for floats, so just drop it, as it should be
harmless to drop.
Chun-wei Fan [Tue, 31 Jul 2018 10:11:26 +0000 (18:11 +0800)]
Add a EGL renderer (via ANGLE) for Windows
This is for adding a EGL-based renderer which is done via the ANGLE
project, which translate EGL calls to Direct3D 9/11. This is done as a
possible solution to issue #105, especially for cases where the needed
full GL extensions to map OpenGL to Direct3D is unavailable or
unreliable, or when the OpenGL implementation from the graphics drivers
are problematic.
To enable this, do the following:
-Build ANGLE and ensure the ANGLE libEGL.dll and libGLESv2.dll are
available. A sufficiently-recent ANGLE is needed for things to
work correctly--note that the copy of ANGLE that is included in
qtbase-5.10.1 is sufficient. ANGLE is licensed under a BSD 3-clause
license.
-Build libepoxy on Windows with EGL support enabled.
-Currently, prior to running GTK+ programs, the GDK_DEBUG envvar needs
to be set with gl-gles as at least one of the flags.
Known issues:
-Only OpenGL ES 3 is supported, ANGLE's ES 2 does not support the needed
extensions, notably GL_OES_vertex_array_object, but its ES 3 support is
sufficient.
-There is no autodetection or fallback mechanism to enable using
EGL/Angle automatically yet. There are no plans to do this in this
commit.
Chun-wei Fan [Fri, 22 Jun 2018 07:02:24 +0000 (15:02 +0800)]
build: Check for EGL support in libepoxy on Windows
...EGL support needs to be explicitly enabled during the build of
libepoxy on Windows as it is not enabled by default on Windows.
With this, we can add an EGL renderer for Windows that make use of
Google's libANGLE, which is a library that translates OpenGL/ES calls
to Direct3D 9/11, which will provide better hardware compatibility
on Windows and would act as one of the foundations to resolve issue #105.
Matthias Clasen [Thu, 30 Jul 2020 03:55:23 +0000 (03:55 +0000)]
Merge branch 'display-cleanup' into 'master'
Display cleanup
See merge request GNOME/gtk!2319
Matthias Clasen [Thu, 30 Jul 2020 03:43:30 +0000 (03:43 +0000)]
Merge branch 'surface-cleanup' into 'master'
Surface cleanup
See merge request GNOME/gtk!2317
Matthias Clasen [Thu, 30 Jul 2020 03:28:02 +0000 (03:28 +0000)]
Merge branch 'a11y-work' into 'master'
A11y work
See merge request GNOME/gtk!2318
Matthias Clasen [Thu, 30 Jul 2020 03:00:57 +0000 (23:00 -0400)]
docs: Don't refer to nonexisting functions
gdk_surface_input_shape_combine_mask() no longer
exists.
Matthias Clasen [Thu, 30 Jul 2020 02:55:19 +0000 (22:55 -0400)]
gdk: Move default group api to the X11 backend
This is the only place where it is implemented.
Matthias Clasen [Thu, 30 Jul 2020 02:10:56 +0000 (22:10 -0400)]
a11y: Set an accessible role for GtkLevelBar
Use the 'meter' role for GtkLevelBar, and set the
appropriate properties.
Update the docs and add a test.
Matthias Clasen [Thu, 30 Jul 2020 01:55:34 +0000 (21:55 -0400)]
a11y: Set an accessible role for GtkExpander
Use the button accessible role for GtkExpander
and set attributes as appropriate.
Update the documentation and add a test.
Matthias Clasen [Thu, 30 Jul 2020 00:26:16 +0000 (20:26 -0400)]
a11y: Set accessible role for GtkLinkButton
Set the accessible role for GtkLinkButton to button.
We don't use the 'link' role since ARIA says "if it
behaves like a button, use 'button'".
Update docs and add a test.
This changes should not be neccessary, since
GtkLinkButton derives from GtkButton, see #2965.
Matthias Clasen [Wed, 29 Jul 2020 22:18:04 +0000 (18:18 -0400)]
a11y: Set an accessible role for GtkTextView
Use the text-box accessible role for GtkTextView
and set properties as appropriate.
Update the documentation and add a test.
Matthias Clasen [Thu, 30 Jul 2020 02:40:01 +0000 (22:40 -0400)]
Rename gdk_surface_queue_expose
We don't have expose events anymore; instead, there
is a ::render signal. So rename queue_expose to
queue_render to match.
Update all callers.
Matthias Clasen [Thu, 30 Jul 2020 02:30:44 +0000 (22:30 -0400)]
gdk: Stop exporting gdk_surface_freeze_updates
The only legitimate use for freezing the frame clock
is in GDK backends. Exporting this function for
applications makes no sense.
Matthias Clasen [Thu, 30 Jul 2020 00:23:46 +0000 (20:23 -0400)]
iconbrowser: Add screenshots to appdata
appstream validation is picky and insists we have
at least on screenshot.
Matthias Clasen [Wed, 29 Jul 2020 21:58:45 +0000 (17:58 -0400)]
Update our appdata files
Mention the new release in all our appdata files.
Matthias Clasen [Wed, 29 Jul 2020 21:42:49 +0000 (17:42 -0400)]
icon-browser: Install desktop file and appdata
That is needed to make the flatpak build in our
ci happy.
Matthias Clasen [Wed, 29 Jul 2020 20:35:36 +0000 (16:35 -0400)]
testsuite: Skip the skipping
meson 0.55 considers a test failed if we skip any cases.
Until that is fixed, just skip them quietly.
See https://github.com/mesonbuild/meson/issues/7515
Matthias Clasen [Wed, 29 Jul 2020 18:57:07 +0000 (14:57 -0400)]
testsuite: Stop setting NO_AT_BRIDGE
We are not paying attention to that environment
variable anymore.
Matthias Clasen [Wed, 29 Jul 2020 16:40:15 +0000 (12:40 -0400)]
NEWS: Updates
Matthias Clasen [Wed, 29 Jul 2020 16:39:57 +0000 (12:39 -0400)]
docs: Mention workarea in the migration guide
Matthias Clasen [Wed, 29 Jul 2020 16:24:32 +0000 (16:24 +0000)]
Merge branch 'wip/ditch-workarea' into 'master'
gdk/monitor: Remove gdk_monitor_work_area and GdkMonitor::work-area
See merge request GNOME/gtk!2316
Jonas Ådahl [Wed, 29 Jul 2020 13:47:48 +0000 (15:47 +0200)]
gdk/monitor: Remove gdk_monitor_work_area and GdkMonitor::work-area
It's not a portable API, so remove it. The corresponding backend
specific functions are still available, if they were implemented, e.g.
gdk_macos_monitor_get_workarea() and gdk_x11_monitor_get_workarea().
Matthias Clasen [Wed, 29 Jul 2020 12:16:55 +0000 (12:16 +0000)]
Merge branch 'better-doc-link-fix' into 'master'
docs: Fix links in markdown content differently
See merge request GNOME/gtk!2315
Matthias Clasen [Wed, 29 Jul 2020 11:45:02 +0000 (07:45 -0400)]
docs: Fix links in markdown content differently
pandoc insists on using the xlink namespace for hrefs,
and the namespace setup doesn't carry over xi:includes.
My first fix was to tell pandoc to generate standalone
docbook documents, which makes it insert the xlink
namespace. But it also makes it wrap all sections and
chapters in articles, and that messes up our toc structure.
So, patch things up differently by stripping the xlink:
from hrefs via regex.
Yay for XML!
Matthias Clasen [Wed, 29 Jul 2020 11:24:48 +0000 (11:24 +0000)]
Merge branch 'doc-fixes' into 'master'
Doc fixes
See merge request GNOME/gtk!2314
Matthias Clasen [Wed, 29 Jul 2020 11:19:22 +0000 (11:19 +0000)]
Merge branch 'a11y-work' into 'master'
A11y work
See merge request GNOME/gtk!2312
Daniel Mustieles [Wed, 29 Jul 2020 10:32:09 +0000 (12:32 +0200)]
Updated Spanish translation
Daniel Mustieles [Wed, 29 Jul 2020 10:31:27 +0000 (12:31 +0200)]
Updated Spanish translation
Florentina Mușat [Wed, 29 Jul 2020 10:33:19 +0000 (10:33 +0000)]
Update Romanian translation
Matthias Clasen [Wed, 29 Jul 2020 02:39:31 +0000 (22:39 -0400)]
docs: Add a missing symbol
Matthias Clasen [Wed, 29 Jul 2020 02:20:19 +0000 (22:20 -0400)]
filter: Typo fix
Matthias Clasen [Wed, 29 Jul 2020 02:19:59 +0000 (22:19 -0400)]
filechooser: Document the response.activate action
Matthias Clasen [Wed, 29 Jul 2020 02:19:35 +0000 (22:19 -0400)]
a11y: Document GtkATContext::state-changed
Matthias Clasen [Wed, 29 Jul 2020 02:18:52 +0000 (22:18 -0400)]
docs: Update the symbols list
Make sure the sections file is in sync with what
we actually export.
Matthias Clasen [Wed, 29 Jul 2020 02:08:37 +0000 (22:08 -0400)]
docs: Update private headers list
Matthias Clasen [Wed, 29 Jul 2020 02:07:44 +0000 (22:07 -0400)]
a11y: Fix a few glitches in the role enum
When the enumeration was synced with the latest draft
of the ARIA spec, the math and note roles missed the boat.